package bb.lanxing.model.json;

import com.alibaba.fastjson.JSON;
import java.util.List;

public class ServerCodeJson {
    private int code;
    private String data;
    private String msg;

    public String getMsg() {
        return this.msg;
    }

    public void setMsg(String str) {
        this.msg = str;
    }

    public int getCode() {
        return this.code;
    }

    public void setCode(int i) {
        this.code = i;
    }

    public String getData() {
        return this.data;
    }

    public void setData(String str) {
        this.data = str;
    }

    public <T> List<T> getData(Class<T> cls) {
        return JSON.parseArray(this.data, cls);
    }
}
